export default {
    namespaced:true,
    state:{
        routeList:[]
    },
    mutations:{
        routeAdd(state,arr){
            state.routeList=arr
        },
        addRouter(state,obj){
            state.routeList.push(obj)
        }
    }
}